<script>
export default {
  name: 'App'
}
</script>

<template>
  <div class="app-container">
    <router-view />
    <footer class="app-footer">
      <p>© 2025 在线棋类游戏平台 - 版权所有</p>
    </footer>
  </div>
</template>

<style>
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.app-footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  outline: none;
  border: none;
}

/* 响应式布局 */
@media (max-width: 768px) {
  .game-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .game-card {
    width: 100%;
    max-width: 350px;
    margin-bottom: 20px;
  }
}
</style>
